package com.zyb.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zyb.pojo.LoginForm;
import com.zyb.pojo.Student;
import com.baomidou.mybatisplus.extension.service.IService;

public interface StudentService extends IService<Student> {

    //登录校验
    Student login(LoginForm loginForm);

    //获取登录人的信息并查询
    Student getAdminById(Long userId);

    //条件查询带分页
    IPage<Student> getStudentPage(Integer pageNo, Integer pageSize, Student student);
}
